﻿<UserControl x:Class="KlearTweet.Client.Workspace.WorkspaceView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Tab="clr-namespace:KlearTweet.Client.Tab"
    xmlns:Panels="clr-namespace:KlearTweet.Client.Panels"
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Panels:NewTweetView Grid.Row="0" x:Name="NewTweetView" />

        <Grid Grid.Row="1" Background="#DDDDDDDD" Margin="5">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>

            <ToggleButton Grid.Column="0" x:Name="ToggleNewTweetView" Content="WriteTweet" />
            <ScrollBar Grid.Column="1" x:Name="TabsScrollBar" Orientation="Horizontal" />
            <ToggleButton Grid.Column="2" x:Name="TogglePreferences" Content="Preferences" />
            <ToggleButton Grid.Column="3" x:Name="ToggleDiagnosticPanel" Content="Diagnostic" />
        </Grid>

        <Tab:TabContainer x:Name="TabContainer" Grid.Row="2" />

        <Panels:DiagnosticPanel x:Name="DiagnosticPanel" Grid.Row="3" Height="200" />
    </Grid>
</UserControl>
